package com.course.coursedesign2022.service;

import com.course.coursedesign2022.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ExtendedActivity {
    @Autowired
    private UserMapper userMapper;
    public String extendAct(Integer id) {
        userMapper.extendAct(id);
        return "完成扩展活动，可交换积分+5";
    }
}
